/*
 * Event.h
 *
 *  Created on: 2012-12-6
 *      Author: yangentao@gmail.com
 */

#pragma once;

#include <windows.h>

namespace yet {

class Event {
public:
	Event();
	virtual ~Event();
public:
	void notify();
	DWORD wait();
	DWORD wait(DWORD timeout);
private:
	HANDLE  event;
};

} /* namespace yet */
